<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="language" content="en" />

		<!-- blueprint CSS framework -->
		<link rel="stylesheet" type="text/css"
			  href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css"
			  media="screen, projection" />
		<link rel="stylesheet" type="text/css"
			  href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css"
			  media="print" />
		<!--[if lt IE 8]>
		<link rel="stylesheet" type="text/css"
			  href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css"
			  media="screen, projection" />
		<![endif]-->

		<link rel="stylesheet" type="text/css"
			  href="<?php echo Yii::app()->assetUrl; ?>/css/main.css" />
		<link rel="stylesheet" type="text/css"
			  href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
		<link rel="stylesheet" type="text/css"
			  href="<?php echo Yii::app()->assetUrl; ?>/css/form.css" />

		<title><?php echo CHtml::encode($this->pageTitle); ?></title>

		<?php
		$cs = Yii::app()->clientScript;
		$path = Yii::app()->request->baseUrl . '/images/hayate.ico';
		$cs->registerLinkTag("shortcut icon", "image/x-icon", $path);
		?>

		<meta content="Andy Julot" name="author" />
		<meta content="andy[dot]julot[at]gmail[dot]com" name="author email" />
		<meta content="index, follow" name="robots" />
		<?php
		$keywords = array(
			'4-koma 4koma yon-koma yonkoma mangascan',
			'mikage takashi',
			'ashita ha dochi da',
			'english',
			'mahou shoujo lyrical nanoha',
			'a\'s',
			'portable',
			'strikers',
			'the movie',
			'nano!',
			'saki',
			'sakippoi',
			'utawarerumono',
			'tawamurerumono',
			'code geass',
			'code geachu',
		);
		?>
		<meta content="<?php echo implode(' ', $keywords) ?>" name="keywords" />
		<meta content="Mikage Takashi 4-Koma Haven" name="description" />

	</head>

	<body>

		<div class="container" id="page">

			<div id="header">
				<div id="logo">
					<h1>
						<?php echo CHtml::encode(Yii::app()->name); ?>
					</h1>
					<h2>
						Mikage Takashi's 4-koma haven
					</h2>
				</div>
			</div><!-- header -->

			<div id="mainmenu">
				<?php
				$properties = array('items'=>Yii::app()->menu);
				$this->widget('zii.widgets.CMenu', $properties);
				?>
			</div><!-- mainmenu -->
			<?php
			if (!$this->breadcrumbs) {
				$this->breadcrumbs = array('&nbsp');
			}
			?>
			<?php
			$this->widget('zii.widgets.CBreadcrumbs',
				array(
				'links'=>$this->breadcrumbs,
			));
			?><!-- breadcrumbs -->

			<?php echo $content; ?>

			<div class="clear"></div>

		</div><!-- page -->

		<div id="footer" class="prepend-top">
			Created by 
			<span title="andy dot julot at gmail dot com">Julot</span>
			-
			Design by 
			<?php
			$text = 'Free Css Template';
			$url = 'http://www.freecsstemplates.org';
			$htmlOptions = array(
				'target'=>'_blank',
				'title'=>$text,
			);
			echo CHtml::link($text, $url, $htmlOptions);
			?>
			modified to
			<?php
			$text = 'Blueprint Css Framework';
			$url = 'http://www.blueprintcss.org';
			$htmlOptions = array(
				'target'=>'_blank',
				'title'=>$text,
			);
			echo CHtml::link($text, $url, $htmlOptions);
			?>
			template
			-
			Icon by
			<?php
			$text = 'Fugue Icons';
			$url = 'http://p.yusukekamiyamane.com';
			$htmlOptions['title'] = 'Free Icon Collection';
			echo CHtml::link($text, $url, $htmlOptions);
			?>
			-
			Hosted by 
			<?php
			$text = '000webhost';
			$url = 'http://www.000webhost.com';
			$htmlOptions['title'] = 'Free PHP and MySQL Hosting Provider';
			echo CHtml::link($text, $url, $htmlOptions);
			?>
			<br />
			Powered by
			<?php
			$text = 'Yii Framework';
			$htmlOptions['title'] = $text;
			$url = 'http://www.yiiframework.com';
			echo CHtml::link($text, $url, $htmlOptions);
			?>
			&amp;
			<?php
			$text = 'jQuery';
			$htmlOptions['title'] = $text;
			$url = 'http://www.jquery.com';
			echo CHtml::link($text, $url, $htmlOptions);
			?>
			-
			Enhanced by 
			<?php
			$text = 'prettyPhoto';
			$htmlOptions['title'] = $text;
			$url = 'http://www.no-margin-for-errors.com/projects/';
			$url .= 'prettyphoto-jquery-lightbox-clone';
			echo CHtml::link($text, $url, $htmlOptions);
			?>
			&amp;

			<?php
			$text = 'jQueryNotes';
			$htmlOptions['title'] = $text;
			$url = 'http://jquery-notes.rydygel.de';
			echo CHtml::link($text, $url, $htmlOptions);
			?>

		</div><!-- footer -->

	</body>
</html>
